package com.drivers.wallet.mapper;

import com.drivers.model.BaseEntity;
import com.drivers.model.wallet.DriversWallet;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @Author zhaomingshuo
 * @Date: 2024/08/26
 */

public interface WalletMapper {

    List<DriversWallet> walletfindAll(Integer userId);

    Integer walletadd(DriversWallet driversWallet);

    Integer updateFreeStatus(Integer id,LocalDateTime now);

    Integer precedenceStatus(Integer id,LocalDateTime now);

    void precedencecancel(LocalDateTime now);

    Integer openSecretfree(Integer id,LocalDateTime now);

    DriversWallet DriversWalletbyid(Integer id);

    Integer deletewallet(Integer id);
}
